/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xs_switch_book.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.xs_switch_book.entity.XsSwitchBook;
import com.jeeplus.modules.xs_switch_book.mapper.XsSwitchBookMapper;

/**
 * 后台定义切换书籍信息Service
 * @author 天竹子
 * @version 2021-07-19
 */
@Service
@Transactional(readOnly = true)
public class XsSwitchBookService extends CrudService<XsSwitchBookMapper, XsSwitchBook> {

	public XsSwitchBook get(String id) {
		return super.get(id);
	}
	
	public List<XsSwitchBook> findList(XsSwitchBook xsSwitchBook) {
		return super.findList(xsSwitchBook);
	}
	
	public Page<XsSwitchBook> findPage(Page<XsSwitchBook> page, XsSwitchBook xsSwitchBook) {
		return super.findPage(page, xsSwitchBook);
	}
	
	@Transactional(readOnly = false)
	public void save(XsSwitchBook xsSwitchBook) {
		super.save(xsSwitchBook);
	}
	
	@Transactional(readOnly = false)
	public void delete(XsSwitchBook xsSwitchBook) {
		super.delete(xsSwitchBook);
	}
	
}